Skip to content

Conversation

@vkraleti
Copy link
Contributor

qcom.config, a Qualcomm-specific kernel configuration fragment
enables features and subsystems required by Qualcomm SoCs that are
not part of the community's common defconfig.

Add qcom.config to KBUILD_CONFIG_EXTRA to enable these essential
features and subsystems on aarch64 builds.

KBUILD_CONFIG_EXTRA = "${@bb.utils.contains('DISTRO_FEATURES', 'hardened', '${S}/kernel/configs/hardening.config', '', d)}"
KBUILD_CONFIG_EXTRA:append:aarch64 = "${S}/arch/arm64/configs/prune.config"
KBUILD_CONFIG_EXTRA:append:aarch64 = " ${S}/arch/arm64/configs/prune.config"
KBUILD_CONFIG_EXTRA:append:aarch64 = " ${S}/arch/arm64/configs/qcom.config"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is provided by the kernel tree, but we also have a qcom.cfg fragment (and now qcom.config), not an issue necessarily but might cause confusion later on (what is in tree and what is provided by the recipe).

Copy link
Contributor Author

@vkraleti vkraleti Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The in-tree qcom.config fragment and the recipe-provided qcom.cfg fragment are already in separate lists, so users can identify the source. However, similar naming still creates confusion. I’ve created GH issue #1252 to track this.

@github-actions
Copy link

Test run workflow

Test jobs for commit 390b602

@test-reporting-app
Copy link

test-reporting-app bot commented Nov 25, 2025

Test Results

 14 files  ± 0   23 suites   - 5   1h 21m 1s ⏱️ + 43m 33s
 54 tests + 4   47 ✅  -  3  0 💤 ±0   7 ❌ + 7 
290 runs   - 14  270 ✅  - 34  0 💤 ±0  20 ❌ +20 

For more details on these failures, see this check.

Results for commit 793298f. ± Comparison against base commit 026ef6f.

♻️ This comment has been updated with latest results.

Add a leading space when appending prune.config to KBUILD_CONFIG_EXTRA.
Without this, configs may concatenate incorrectly, causing build issues.

This addresses a regression introduced by commit d1e9628.

Signed-off-by: Viswanath Kraleti <[email protected]>
`qcom.config`, a Qualcomm-specific kernel configuration fragment
enables features and subsystems required by Qualcomm SoCs that are
not part of the community's common defconfig.

Add qcom.config to KBUILD_CONFIG_EXTRA to enable these essential
features and subsystems on aarch64 builds.

Signed-off-by: Viswanath Kraleti <[email protected]>
Remove DMABUF HEAP related configs and CONFIG_SCSI_UFS_QCOM from qcom.cfg
since these are already enabled in the in-tree qcom.config.

Signed-off-by: Viswanath Kraleti <[email protected]>
@github-actions
Copy link

Test run workflow

Test jobs for commit 793298f

@vkraleti
Copy link
Contributor Author

vkraleti commented Nov 27, 2025

Apparently ICE-related configurations enabled in qcom.config are causing the boot issues. After reverting these locally the iq-9075-evk booted successfully.

I’ll move this PR to draft for now and will make it active once the ICE fixes are merged into the qcom-next kernel.

@ricardosalveti
Copy link
Contributor

ricardosalveti commented Nov 27, 2025

Apparently ICE-related configurations enabled in qcom.config are causing the boot issues. After reverting these locally the iq-9075-evk booted successfully.

Interesting, I did see some some ice-related issues with ubuntu as well (which has all the ice options enabled), could just be an upstream issue.

@lumag lumag marked this pull request as draft November 27, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants